package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.QuestionTag;
import cn.wolfcode.luowowo.article.mapper.QuestionTagMapper;
import cn.wolfcode.luowowo.article.service.IQuestionTagService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author 名字
 * @company 公司
 * @create 2019-09-28 13:04
 */
@Service
public class QuestionTagServiceImpl implements IQuestionTagService {

    @Autowired
    private QuestionTagMapper questionTagMapper;


    @Override
    public List<QuestionTag> query() {

        return questionTagMapper.selectForList();
    }
}
